package com.copractice.data.dao.hibernate.answer;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.copractice.data.dao.answer.AnswerDAO;
import com.copractice.data.dao.hibernate.HibernateDAO;
import com.copractice.data.entity.answer.Answer;

/**
 * Implementation of <code>HibernateDAO</code> for <code>Answer</code> class using <code>Hibernate</code> framework.
 *
 * @author Dmitry Churbanov (dmitry.churbanov@gmail.com)
 * @version 1.0 03/13/2009
 */
public class HibernateAnswerDAO extends HibernateDAO<Answer, Long> implements AnswerDAO {
    
    private static final Logger LOG = LoggerFactory.getLogger(HibernateAnswerDAO.class);

    /**
     * @see com.copractice.data.dao.hibernate.HibernateDAO#getPersistenceClass
     */
    @Override    
    protected Class<Answer> getPersistenceClass() {
        return Answer.class;
    }

}
